//订单退货申请管理
import {get, post, put, del} from "../utils/request";

//分页获取退货申请信息
export function fetchList(params) {
    return get('/order/return/apply/listpage', params)
}

//删除申请
export function deleteApply(params) {
    return del('/order/return/apply/del', params)
}

//获取指定申请信息
export function getApplyDetail(id) {
    return get('/order/return/apply/getitem/' + id)
}

//更新申请信息状态
export function updateApplyStatus(id, data) {
    return post('/order/return/apply/update/status/' + id, data)
}